home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / pango-1.0 / pango / pango-glyph-item.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-04-25  |  1.8 KB  |  56 lines

  1. /* -*- mode: C; c-file-style: "gnu" -*- */
  2. /* Pango
  3.  * pango-glyph-item.h: Pair of PangoItem and a glyph string
  4.  *
  5.  * Copyright (C) 2002 Red Hat Software
  6.  *
  7.  * This library is free software; you can redistribute it and/or
  8.  * modify it under the terms of the GNU Library General Public
  9.  * License as published by the Free Software Foundation; either
  10.  * version 2 of the License, or (at your option) any later version.
  11.  *
  12.  * This library is distributed in the hope that it will be useful,
  13.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.     See the GNU
  15.  * Library General Public License for more details.
  16.  *
  17.  * You should have received a copy of the GNU Library General Public
  18.  * License along with this library; if not, write to the
  19.  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  20.  * Boston, MA 02111-1307, USA.
  21.  */
  22.  
  23. #ifndef __PANGO_GLYPH_ITEM_H__
  24. #define __PANGO_GLYPH_ITEM_H__
  25.  
  26. #include <pango/pango-attributes.h>
  27. #include <pango/pango-break.h>
  28. #include <pango/pango-item.h>
  29. #include <pango/pango-glyph.h>
  30.  
  31. G_BEGIN_DECLS
  32.  
  33. typedef struct _PangoGlyphItem PangoGlyphItem;
  34.  
  35. struct _PangoGlyphItem
  36. {
  37.   PangoItem        *item;
  38.   PangoGlyphString *glyphs;
  39. };
  40.  
  41. PangoGlyphItem *pango_glyph_item_split        (PangoGlyphItem *orig,
  42.                            const char     *text,
  43.                            int             split_index);
  44. void            pango_glyph_item_free         (PangoGlyphItem *glyph_item);
  45. GSList *        pango_glyph_item_apply_attrs  (PangoGlyphItem *glyph_item,
  46.                            const char     *text,
  47.                            PangoAttrList  *list);
  48. void            pango_glyph_item_letter_space (PangoGlyphItem *glyph_item,
  49.                            const char     *text,
  50.                            PangoLogAttr   *log_attrs,
  51.                            int             letter_spacing);
  52.  
  53. G_END_DECLS
  54.  
  55. #endif /* __PANGO_GLYPH_ITEM_H__ */
  56.